package com.swinboo.im.integration;

import com.huang.base.AbstractIntegrationFactoryBean;
import com.swinboo.im.client.EMContactClient;
import com.swinboo.im.client.EMMsgClient;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @author Swinboo
 * @date 2022-03-21 20:54
 * @description:
 */

@Component(value = EMMsgIntegration.BEAN_NAME )
public class EMMsgIntegration extends AbstractIntegrationFactoryBean<EMMsgClient> {
    public static final String BEAN_NAME = "EMMsgIntegration";

    @Resource
    private EMMsgClient EMMsgClient;
    @Override
    protected EMMsgClient getTarget() {
        return EMMsgClient;
    }

    @Override
    protected Class<EMMsgClient> getTargetClass() {
        return EMMsgClient.class;
    }
}
